\hypertarget{gl_helper_8cpp}{\section{gl\-Helper.\-cpp File Reference}
\label{gl_helper_8cpp}\index{gl\-Helper.\-cpp@{gl\-Helper.\-cpp}}
}
{\ttfamily \#include \char`\"{}gl\-Helper.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}creature.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}consumable.\-hpp\char`\"{}}\\*
Include dependency graph for gl\-Helper.\-cpp\-:
% FIG 0
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{gl_helper_8cpp_af151554d532190beb0a1fc8e2a2e1445}{draw\-Square} (int side)
\item 
void \hyperlink{gl_helper_8cpp_a7a81891b1569e58a540aa32925d34120}{draw\-Teapot} (float \hyperlink{main_8cpp_ab8ef1bf8a70cc07c6d55823c390a7e76}{angle}, float state)
\item 
void \hyperlink{gl_helper_8cpp_ab8aa40f8b094ca99196d3cb4b5df5060}{draw\-Crap} ()
\item 
void \hyperlink{gl_helper_8cpp_af09d4e544e73d211b48d2f6adc044a08}{draw\-Circle} (float rad)
\item 
void \hyperlink{gl_helper_8cpp_a7c8a4c51d86286f4779ab2e9d2625aa7}{normalize} (\hyperlink{structs__vector}{s\-\_\-vector} \&v)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
float \hyperlink{gl_helper_8cpp_ab8ef1bf8a70cc07c6d55823c390a7e76}{angle}
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{gl_helper_8cpp_af09d4e544e73d211b48d2f6adc044a08}{\index{gl\-Helper.\-cpp@{gl\-Helper.\-cpp}!draw\-Circle@{draw\-Circle}}
\index{draw\-Circle@{draw\-Circle}!glHelper.cpp@{gl\-Helper.\-cpp}}
\subsubsection[{draw\-Circle}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf draw\-Circle} (
\begin{DoxyParamCaption}
\item[{float}]{rad}
\end{DoxyParamCaption}
)}}\label{gl_helper_8cpp_af09d4e544e73d211b48d2f6adc044a08}


Definition at line 49 of file gl\-Helper.\-cpp.



References P\-I.



Referenced by Creature\-::paint().



Here is the caller graph for this function\-:
% FIG 1


\hypertarget{gl_helper_8cpp_ab8aa40f8b094ca99196d3cb4b5df5060}{\index{gl\-Helper.\-cpp@{gl\-Helper.\-cpp}!draw\-Crap@{draw\-Crap}}
\index{draw\-Crap@{draw\-Crap}!glHelper.cpp@{gl\-Helper.\-cpp}}
\subsubsection[{draw\-Crap}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf draw\-Crap} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{gl_helper_8cpp_ab8aa40f8b094ca99196d3cb4b5df5060}


Definition at line 36 of file gl\-Helper.\-cpp.



References angle, D\-E\-G\-\_\-\-T\-O\-\_\-\-R\-A\-D, draw\-Square(), and draw\-Teapot().



Here is the call graph for this function\-:
% FIG 2


\hypertarget{gl_helper_8cpp_af151554d532190beb0a1fc8e2a2e1445}{\index{gl\-Helper.\-cpp@{gl\-Helper.\-cpp}!draw\-Square@{draw\-Square}}
\index{draw\-Square@{draw\-Square}!glHelper.cpp@{gl\-Helper.\-cpp}}
\subsubsection[{draw\-Square}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf draw\-Square} (
\begin{DoxyParamCaption}
\item[{int}]{side}
\end{DoxyParamCaption}
)}}\label{gl_helper_8cpp_af151554d532190beb0a1fc8e2a2e1445}


Definition at line 9 of file gl\-Helper.\-cpp.



Referenced by draw\-Crap().



Here is the caller graph for this function\-:
% FIG 3


\hypertarget{gl_helper_8cpp_a7a81891b1569e58a540aa32925d34120}{\index{gl\-Helper.\-cpp@{gl\-Helper.\-cpp}!draw\-Teapot@{draw\-Teapot}}
\index{draw\-Teapot@{draw\-Teapot}!glHelper.cpp@{gl\-Helper.\-cpp}}
\subsubsection[{draw\-Teapot}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf draw\-Teapot} (
\begin{DoxyParamCaption}
\item[{float}]{angle, }
\item[{float}]{state}
\end{DoxyParamCaption}
)}}\label{gl_helper_8cpp_a7a81891b1569e58a540aa32925d34120}


Definition at line 23 of file gl\-Helper.\-cpp.



Referenced by draw\-Crap().



Here is the caller graph for this function\-:
% FIG 4


\hypertarget{gl_helper_8cpp_a7c8a4c51d86286f4779ab2e9d2625aa7}{\index{gl\-Helper.\-cpp@{gl\-Helper.\-cpp}!normalize@{normalize}}
\index{normalize@{normalize}!glHelper.cpp@{gl\-Helper.\-cpp}}
\subsubsection[{normalize}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf normalize} (
\begin{DoxyParamCaption}
\item[{{\bf s\-\_\-vector} \&}]{v}
\end{DoxyParamCaption}
)}}\label{gl_helper_8cpp_a7c8a4c51d86286f4779ab2e9d2625aa7}


Definition at line 59 of file gl\-Helper.\-cpp.



References abs\-Vector(), s\-\_\-vector\-::x, and s\-\_\-vector\-::y.



Here is the call graph for this function\-:
% FIG 5




\subsection{Variable Documentation}
\hypertarget{gl_helper_8cpp_ab8ef1bf8a70cc07c6d55823c390a7e76}{\index{gl\-Helper.\-cpp@{gl\-Helper.\-cpp}!angle@{angle}}
\index{angle@{angle}!glHelper.cpp@{gl\-Helper.\-cpp}}
\subsubsection[{angle}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf angle}}}\label{gl_helper_8cpp_ab8ef1bf8a70cc07c6d55823c390a7e76}


Definition at line 25 of file main.\-cpp.



Referenced by draw\-Crap().

